package jsu.xxy.coffee3.service;

import jsu.xxy.coffee3.domain.MiniOrder;
import jsu.xxy.coffee3.domain.Order;
import jsu.xxy.coffee3.domain.Ordertable;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 张从轩
* @description 针对表【ordertable】的数据库操作Service
* @createDate 2023-12-31 15:17:30
*/
public interface OrdertableService extends IService<Ordertable> {
    public List<Order> findAllOrderByName(String userName);
    public List<MiniOrder> findAllMiniOrder(String userName);
    public List<MiniOrder> findTodayMiniOrder(String userName);
    public Order findOneOrder(String userName, int orderId);
    public boolean addOneOrder(Order order);
    public boolean addOneOrderByStr(String userName,String drinkStr);

    int test();
}
